Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support GeoJSON uploads for creating opportunity datasets. #902

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

trevorgerhardt
Copy link
Member

Closely mirrors the way Shapefiles are converted into grids.

Refs #747

@trevorgerhardt trevorgerhardt added feature t0 Time level 0: think hours labels Oct 26, 2023
@trevorgerhardt trevorgerhardt force-pushed the allow-geojson-upload branch 2 times, most recently from f71b880 to ab7d1b6 Compare October 28, 2023 02:17
@trevorgerhardt trevorgerhardt marked this pull request as ready for review October 28, 2023 02:17
@trevorgerhardt trevorgerhardt enabled auto-merge (rebase) October 28, 2023 02:17
@trevorgerhardt trevorgerhardt force-pushed the allow-geojson-upload branch 2 times, most recently from 1b8ead8 to c39100e Compare November 23, 2023 06:13
Copy link
Member

@ansoncfit ansoncfit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on a discussion last year, we might want to follow the approach in #761. If we're not going to switch to that workflow yet, it might be good at this stage to reduce some of the repetition here, by refactoring some of the fromShapefile code into reusable methods.

src/main/java/com/conveyal/r5/analyst/Grid.java Outdated Show resolved Hide resolved
@trevorgerhardt
Copy link
Member Author

Based on a discussion last year, we might want to follow the approach in #761.

This doesn't prevent or hinder following the approach in #761 whenever that is implemented.

If we're not going to switch to that workflow yet, it might be good at this stage to reduce some of the repetition here, by refactoring some of the fromShapefile code into reusable methods.

Ok, I'll take a look and see if there is something to pull out there 👍

trevorgerhardt and others added 2 commits November 6, 2024 11:52
Closely mirrors the way Shapefiles are converted into grids. With GeoTools it is quite simple. It's possible to abstract common creation code between the two types but may not be necessary unless more types are added.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature t0 Time level 0: think hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants